package com.zm.schedule.schedulemgr.po;

import java.io.Serializable;
import java.util.Date;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;
@Entity
@Table(name="tb_zm_schedule_job")
public class TbZmScheduleJob implements Serializable {
	@Id
	@Column(name = "job_id")
	private String jobId;
	@Column(name="JOB_NAME")
    private String jobName;
	@Column(name="JOB_DESC")
    private String jobDesc;
	@Column(name="IP")
    private String ip;
	@Column(name="CLASS_NAME")
    private String className;
	@Column(name="JOB_GROUP")
    private String jobGroup;
	@Column(name="STATUS")
    private String status;//任务状态 0正常 1停止 2运行
	@Column(name="CRON_EXPRESSION")
    private String cronExpression;
	@Column(name="START_TIME")
    private Date startTime;
	@Column(name="END_TIME")
    private Date endTime;
	@Column(name="NEXT_RUN_TIME")
    private Date nextRunTime;

    public String getJobId() {
        return jobId;
    }

    public void setJobId(String jobId) {
        this.jobId = jobId;
    }

    public String getJobName() {
        return jobName;
    }

    public void setJobName(String jobName) {
        this.jobName = jobName;
    }

    public String getJobDesc() {
        return jobDesc;
    }

    public void setJobDesc(String jobDesc) {
        this.jobDesc = jobDesc;
    }

    public String getIp() {
        return ip;
    }

    public void setIp(String ip) {
        this.ip = ip;
    }

    public String getClassName() {
        return className;
    }

    public void setClassName(String className) {
        this.className = className;
    }

    public String getJobGroup() {
        return jobGroup;
    }

    public void setJobGroup(String jobGroup) {
        this.jobGroup = jobGroup;
    }

    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status;
    }

    public String getCronExpression() {
        return cronExpression;
    }

    public void setCronExpression(String cronExpression) {
        this.cronExpression = cronExpression;
    }

    public Date getStartTime() {
        return startTime;
    }

    public void setStartTime(Date startTime) {
        this.startTime = startTime;
    }

    public Date getEndTime() {
        return endTime;
    }

    public void setEndTime(Date endTime) {
        this.endTime = endTime;
    }

    public Date getNextRunTime() {
        return nextRunTime;
    }

    public void setNextRunTime(Date nextRunTime) {
        this.nextRunTime = nextRunTime;
    }
}